package id.co.rho.scoring.cid.client.mvc.scoringmodel;

import id.co.rho.scoring.cid.client.utils.Folder;

import com.extjs.gxt.ui.client.data.ModelData;
import com.extjs.gxt.ui.client.widget.button.Button;
import com.extjs.gxt.ui.client.widget.menu.MenuItem;
import com.extjs.gxt.ui.client.widget.treegrid.TreeGrid;

public interface ScoringModelUI {
	public void initialize();
	public void childrenDeletedFlag(ModelData model);
	public Boolean isNewRecord(ModelData data);
	public void initWindow();
	public void show();
	public void setModel(Folder model);
	public TreeGrid<ModelData> getTree();
	public Button getBtnAdd();
	public Button getBtnAddMain();
	public Button getBtnEdit();
	public MenuItem getAddMainCriteria();
	public MenuItem getAddCriteria();
	public MenuItem getEditCriteria();
	public Button getBtnSave();
	public Button getBtnCancel();
	public Button getBtnDelete();
	public Long getModelId();
	public void setModelId(Long modelId);
}
